package com.zy.baselib.widget;

import android.content.Context;
import android.os.Bundle;
import android.text.SpannableStringBuilder;
import android.text.method.LinkMovementMethod;
import android.text.style.ClickableSpan;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.TextView;

import androidx.annotation.NonNull;

import com.zy.baselib.R;
import com.zy.baselib.tools.StringUtils;
import com.zy.baselib.tools.SystemTools;

/**
 * @author: shalei
 * @since: 2020-03-23 10:15
 * @Desc:
 **/
public class PrivacyDialog extends TipDialog {

    public PrivacyDialog(Context context, String title, String message, OnDialogButtonClickListener listener) {
        super(context, R.layout.layout_dialog_privacy, title, message, "我知道了", "同意", listener);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setCanceledOnTouchOutside(false);
        setCancelable(true);
    }
}
